<!DOCTYPE html>
<html lang="en">
<head>
<title>.:: {$Uri->get('application')} ::.</title>
<link rel="shortcut icon" href="{$PUBLIC_PATH}img/logo.png" />
<meta name="resource-type" content="document" />
<meta name="revisit-after" content="1" />
<meta name="classification" content="Intranet" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="Sistema gerenciador de aplicações" />
<meta name="keywords" content="FoxSis" />
<meta name="distribution" content="Local" />
<meta name="rating" content="General" />
<meta name="author" content="FoxSis" />
<meta name="language" content="pt-br" />
<meta name="doc-class" content="Completed" />
<meta name="doc-rights" content="Public" />
<script type="text/javascript" src="{$URL_PUBLIC_PATH}locastyle/locastyle.js"></script>
<link rel="stylesheet" type="text/css" href="{$URL_PUBLIC_PATH}css/flashMessage.css" />
<link rel="stylesheet" type="text/css" href="{$URL_PUBLIC_PATH}locastyle/bootstrap.css">
<link rel="stylesheet" type="text/css" href="{$URL_PUBLIC_PATH}locastyle/locastyle.css">
<link rel="stylesheet" type="text/css" media="print" href="{$URL_PUBLIC_PATH}css/print.css" />
</head>
<body>
	<div class="navbar navbar-inverse navbar-fixed-top">
		<div class="navbar-inner">
			<div class='fLeft' style='padding:10px'>
				<h5><a href="{$BASE_PATH}" style='color: white;'>.:: {$Uri->get('application')} ::.</a></h5>
			</div>
			<div class='fRight' style='padding-right:20px;'>
				<div class="btn-group">
					<!-- <a class="btn ico-user" href="{$BASE_PATH}admin/pessoa/viewCadastrar/idpessoa/{$pessoa->get('idpessoa')}">
						Perfil
					</a> --><a class="btn ico-config" href="{$BASE_PATH}admin/configuracao">
						Configurações
					</a><a class="btn ico-logout" href="{$BASE_PATH}login/index/logout">
						Sair
					</a>
				</div>
			</div>
		</div>
	</div>
	<br><br><br>
	<div class="container-fluid">
		<div class="row-fluid">
			<div class="span3">
				<!--MENU DO SISTEMA-->
				<div id="sidebar">
					<nav class="submenu">
						<section class="sideBox" style="margin-top:50px">
							<h1 class="titSide titDadosConta">Dados do usuário</h1>
							<div class="innerSideBox boxWhite">
								<h6>Nome</h6>
								<p>
									<strong>{$pessoa->getDsNome()}</strong>
								</p>
								<hr>
								<h6>CPF</h6>
								<p>
									<strong>{$pessoa->getCpfCnpj()}</strong>
								</p>
								<hr>
								<h6>Email(s)</h6>
								{foreach $pessoa->getEmails() as $email}
									<p>
										<strong class='ico-mail'>{$email->getDsEmail()}</strong>
									</p>
								{/foreach}
								<hr>
								<h6>Telefone(s)</h6>
								{foreach $pessoa->getTelefones() as $telefone}
									<p>
										<strong class='ico-phone'>{$telefone->getNrNumero()}</strong>
									</p>
								{/foreach}
								<hr>
							</div>
						</section>
					</nav>
				</div>
			</div>
			<div class="span9">{$content}</div>
		</div>
	</div>

	<div id='divCarregando' class="carregando"></div>
	<div id="myModal" class="modal fade hidden" aria-hidden="true">
		<form id='formModal' class="validate" action="{$BASE_PATH}" method='post' enctype="multipart/form-data">
			<div class="modal-header">
			</div>
			<div class="modal-body">
			</div>
			<div class="modal-footer">
			</div>
		</form>
	</div>


	<script type="text/javascript" src="{$PUBLIC_PATH}js/jquery/jquery.dataTables.min.js"></script>
	<script type="text/javascript" src="{$PUBLIC_PATH}js/highcharts.js"></script>
	<script type="text/javascript" src="{$PUBLIC_PATH}js/jquery/jquery.highchartTable.js"></script>
	<script type="text/javascript" src="{$PUBLIC_PATH}js/jquery/jquery.timeago.js"></script>
	<script type="text/javascript" src="{$PUBLIC_PATH}js/tinymce/jquery.tinymce.min.js"></script>
	<script type="text/javascript" src="{$PUBLIC_PATH}js/jquery/jquery.maskMoney.js"></script>
	<script type="text/javascript" src="{$PUBLIC_PATH}js/jquery/jquery.validate.min.js"></script>
	<script type="text/javascript" src="{$PUBLIC_PATH}js/jquery/additional-methods.min.js"></script>
	<script type="text/javascript" src="{$PUBLIC_PATH}js/flashMessage.js"></script>
	<script type="text/javascript" src="{$PUBLIC_PATH}js/foxsis.js"></script>

	{literal}
	<script type="text/javascript">
			$(document).ready(function(){
				//default selected do menu
				$('#sidebar li.current_page_item').parents('li').addClass('current_page_ancestor current_page_parent').children('a').removeClass('ico-down-circle').addClass('ico-up-circle');
			});

			function initFlashMessage()
			{
				removeAllFlashMessages();
				{/literal}
					{if ($smarty.session.{$Uri->get('application')}.flashMessage)}
						setFlashMessage(
							'{$smarty.session.{$Uri->get('application')}.flashMessage.type}',
							'{$smarty.session.{$Uri->get('application')}.flashMessage.title}',
							'{$smarty.session.{$Uri->get('application')}.flashMessage.text}'
						);
					{/if}
				{literal}
			}


			var BASE_PATH = {/literal}{$BASE_PATH}{literal}
		</script>
	{/literal}
</body>
</html>